package ru.spb.osll.myfit.util;

import java.io.BufferedReader;
import java.io.IOException;
import java.util.LinkedList;
import java.util.List;

public class IOUtils {
	public static List<String> readLines(BufferedReader reader) throws IOException {
		LinkedList<String> lines = new LinkedList<String>();
		String line = reader.readLine();
		while (line != null) {
			lines.add(line);
			line = reader.readLine();
		}

		return lines;
	}

	private IOUtils() {
	}
}
